NAME := uvoice

$(NAME)_MBINS_TYPE := kernel
$(NAME)_VERSION := 1.0.0
$(NAME)_SUMMARY := uVoice component

$(NAME)_COMPONENTS += kv

GLOBAL_DEFINES     += AOS_UVOICE

GLOBAL_INCLUDES    += include

#default gcc
ifeq ($(COMPILER),)
$(NAME)_CFLAGS      += -Wall -Werror
$(NAME)_PREBUILT_LIBRARY += lib/gcc/libmp3.a
$(NAME)_PREBUILT_LIBRARY += lib/gcc/libuvoice.a
else ifeq ($(COMPILER),gcc)
$(NAME)_CFLAGS      += -Wall -Werror
$(NAME)_PREBUILT_LIBRARY += lib/gcc/libmp3.a
$(NAME)_PREBUILT_LIBRARY += lib/gcc/libuvoice.a
else ifeq ($(COMPILER),armcc)
GLOBAL_DEFINES      += __BSD_VISIBLE
ifeq (y, $(AOS_NETWORK_SAL))
GLOBAL_LDFLAGS += ../../../../middleware/uvoice/lib/armcc/libuvoice_sal.lib
# GLOBAL_LDFLAGS += ../../../../middleware/uvoice/lib/armcc/libuvoice.lib
else
GLOBAL_LDFLAGS += ../../../../middleware/uvoice/lib/armcc/libuvoice.lib
# GLOBAL_LDFLAGS += ../../../../middleware/uvoice/lib/armcc/libuvoice_sal.lib
endif
endif

